package xyz.scootaloo.mono.data.db

import org.apache.catalina.connector.Connector
import org.apache.catalina.connector.Request
import org.junit.Test
import xyz.scootaloo.mono.base.util.IpUtil

/**
 * @author flutterdash@qq.com
 * @since 2021/9/2 9:54
 */
class TestIp {

    @Test
    fun testIp() {
        val request = Request(Connector())
        IpUtil.getRealIpAddress(request)
    }

}
